package org.example.myleet.p1441;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("[\"Push\",\"Push\",\"Pop\",\"Push\"]".equals(JsonUtils.toJson(solution.buildArray(new int[]{1,3}, 3))));
        Assert.isTrue("[\"Push\",\"Push\",\"Push\"]".equals(JsonUtils.toJson(solution.buildArray(new int[]{1,2,3}, 3))));
        Assert.isTrue("[\"Push\",\"Push\"]".equals(JsonUtils.toJson(solution.buildArray(new int[]{1,2}, 4))));
    }
}
